// C# TimePicker Class v1.0
// by Louis-Philippe Carignan - 10 July 2003
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace HexLib
{
	/// <summary>
	/// The MinuteSelectorForm is used to choose a minute element of a time.  It displays
	/// a form where the user can simply click on a button that represents the minute
	/// that he wants.  To exit the form, the user can do a left click outside the form 
	/// or do a right click on a button.  Remember that a right click will also 
	/// select the button where your mouse is currently placed.
	/// </summary>
	public class MinuteSelectorForm : System.Windows.Forms.Form
	{
		#region Properties
		public TimeSpan SelectedTime
		{
			get { return m_sSelectedTime; }
			set 
			{ 
				m_sSelectedTime = value; 
				SetMinute(value.Minutes);
			}
		}
		private TimeSpan m_sSelectedTime;

		public Color ButtonColor
		{
			get { return m_oButtonColor; }
			set 
			{ 
				m_oButtonColor = value; 
				foreach(Control c in this.Controls)
				{
					if (c is Button)
					{
						c.BackColor = value;
					}
				}
			}
		}
		private Color m_oButtonColor;

		public Color SelectedColor
		{
			get { return m_oSelectedColor; }
			set { m_oSelectedColor = value; }
		}
		private Color m_oSelectedColor;

		public bool ResetMinute
		{
			get { return m_bResetMinute; }
			set { m_bResetMinute = value; }
		}
		private bool m_bResetMinute;
		#endregion

		private Button m_oOldMinuteButton;

		private System.Windows.Forms.Button m_oBtn0Minute;
		private System.Windows.Forms.Button m_oBtn1Minute;
		private System.Windows.Forms.Button m_oBtn2Minute;
		private System.Windows.Forms.Button m_oBtn3Minute;
		private System.Windows.Forms.Button m_oBtn4Minute;
		private System.Windows.Forms.Button m_oBtn5Minute;
		private System.Windows.Forms.Button m_oBtn6Minute;
		private System.Windows.Forms.Button m_oBtn7Minute;
		private System.Windows.Forms.Button m_oBtn8Minute;
		private System.Windows.Forms.Button m_oBtn9Minute;
		private System.Windows.Forms.Button m_oBtn10Minute;
		private System.Windows.Forms.Button m_oBtn11Minute;
		private System.Windows.Forms.Button m_oBtn12Minute;
		private System.Windows.Forms.Button m_oBtn13Minute;
		private System.Windows.Forms.Button m_oBtn14Minute;
		private System.Windows.Forms.Button m_oBtn15Minute;
		private System.Windows.Forms.Button m_oBtn16Minute;
		private System.Windows.Forms.Button m_oBtn17Minute;
		private System.Windows.Forms.Button m_oBtn18Minute;
		private System.Windows.Forms.Button m_oBtn19Minute;
		private System.Windows.Forms.Button m_oBtn20Minute;
		private System.Windows.Forms.Button m_oBtn21Minute;
		private System.Windows.Forms.Button m_oBtn22Minute;
		private System.Windows.Forms.Button m_oBtn23Minute;
		private System.Windows.Forms.Button m_oBtn24Minute;
		private System.Windows.Forms.Button m_oBtn25Minute;
		private System.Windows.Forms.Button m_oBtn26Minute;
		private System.Windows.Forms.Button m_oBtn27Minute;
		private System.Windows.Forms.Button m_oBtn28Minute;
		private System.Windows.Forms.Button m_oBtn29Minute;
		private System.Windows.Forms.Button m_oBtn30Minute;
		private System.Windows.Forms.Button m_oBtn31Minute;
		private System.Windows.Forms.Button m_oBtn32Minute;
		private System.Windows.Forms.Button m_oBtn33Minute;
		private System.Windows.Forms.Button m_oBtn34Minute;
		private System.Windows.Forms.Button m_oBtn35Minute;
		private System.Windows.Forms.Button m_oBtn36Minute;
		private System.Windows.Forms.Button m_oBtn37Minute;
		private System.Windows.Forms.Button m_oBtn38Minute;
		private System.Windows.Forms.Button m_oBtn39Minute;				
		private System.Windows.Forms.Button m_oBtn40Minute;
		private System.Windows.Forms.Button m_oBtn41Minute;
		private System.Windows.Forms.Button m_oBtn42Minute;
		private System.Windows.Forms.Button m_oBtn43Minute;		
		private System.Windows.Forms.Button m_oBtn44Minute;
		private System.Windows.Forms.Button m_oBtn45Minute;
		private System.Windows.Forms.Button m_oBtn46Minute;		
		private System.Windows.Forms.Button m_oBtn47Minute;
		private System.Windows.Forms.Button m_oBtn48Minute;
		private System.Windows.Forms.Button m_oBtn49Minute;
		private System.Windows.Forms.Button m_oBtn50Minute;	
		private System.Windows.Forms.Button m_oBtn51Minute;
		private System.Windows.Forms.Button m_oBtn52Minute;
		private System.Windows.Forms.Button m_oBtn53Minute;
		private System.Windows.Forms.Button m_oBtn54Minute;
		private System.Windows.Forms.Button m_oBtn55Minute;
		private System.Windows.Forms.Button m_oBtn56Minute;
		private System.Windows.Forms.Button m_oBtn57Minute;
		private System.Windows.Forms.Button m_oBtn58Minute;
		private System.Windows.Forms.Button m_oBtn59Minute;
						
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public MinuteSelectorForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			m_oOldMinuteButton = new Button();

			m_sSelectedTime = TimeSpan.MinValue;
			m_oSelectedColor = Color.White;
			m_bResetMinute = true;
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.m_oBtn59Minute = new System.Windows.Forms.Button();
			this.m_oBtn49Minute = new System.Windows.Forms.Button();
			this.m_oBtn39Minute = new System.Windows.Forms.Button();
			this.m_oBtn29Minute = new System.Windows.Forms.Button();
			this.m_oBtn19Minute = new System.Windows.Forms.Button();
			this.m_oBtn9Minute = new System.Windows.Forms.Button();
			this.m_oBtn58Minute = new System.Windows.Forms.Button();
			this.m_oBtn48Minute = new System.Windows.Forms.Button();
			this.m_oBtn38Minute = new System.Windows.Forms.Button();
			this.m_oBtn28Minute = new System.Windows.Forms.Button();
			this.m_oBtn18Minute = new System.Windows.Forms.Button();
			this.m_oBtn8Minute = new System.Windows.Forms.Button();
			this.m_oBtn57Minute = new System.Windows.Forms.Button();
			this.m_oBtn47Minute = new System.Windows.Forms.Button();
			this.m_oBtn37Minute = new System.Windows.Forms.Button();
			this.m_oBtn27Minute = new System.Windows.Forms.Button();
			this.m_oBtn17Minute = new System.Windows.Forms.Button();
			this.m_oBtn7Minute = new System.Windows.Forms.Button();
			this.m_oBtn56Minute = new System.Windows.Forms.Button();
			this.m_oBtn46Minute = new System.Windows.Forms.Button();
			this.m_oBtn36Minute = new System.Windows.Forms.Button();
			this.m_oBtn26Minute = new System.Windows.Forms.Button();
			this.m_oBtn16Minute = new System.Windows.Forms.Button();
			this.m_oBtn6Minute = new System.Windows.Forms.Button();
			this.m_oBtn55Minute = new System.Windows.Forms.Button();
			this.m_oBtn45Minute = new System.Windows.Forms.Button();
			this.m_oBtn35Minute = new System.Windows.Forms.Button();
			this.m_oBtn25Minute = new System.Windows.Forms.Button();
			this.m_oBtn15Minute = new System.Windows.Forms.Button();
			this.m_oBtn5Minute = new System.Windows.Forms.Button();
			this.m_oBtn54Minute = new System.Windows.Forms.Button();
			this.m_oBtn44Minute = new System.Windows.Forms.Button();
			this.m_oBtn34Minute = new System.Windows.Forms.Button();
			this.m_oBtn24Minute = new System.Windows.Forms.Button();
			this.m_oBtn14Minute = new System.Windows.Forms.Button();
			this.m_oBtn4Minute = new System.Windows.Forms.Button();
			this.m_oBtn53Minute = new System.Windows.Forms.Button();
			this.m_oBtn43Minute = new System.Windows.Forms.Button();
			this.m_oBtn33Minute = new System.Windows.Forms.Button();
			this.m_oBtn23Minute = new System.Windows.Forms.Button();
			this.m_oBtn13Minute = new System.Windows.Forms.Button();
			this.m_oBtn3Minute = new System.Windows.Forms.Button();
			this.m_oBtn52Minute = new System.Windows.Forms.Button();
			this.m_oBtn42Minute = new System.Windows.Forms.Button();
			this.m_oBtn32Minute = new System.Windows.Forms.Button();
			this.m_oBtn51Minute = new System.Windows.Forms.Button();
			this.m_oBtn41Minute = new System.Windows.Forms.Button();
			this.m_oBtn50Minute = new System.Windows.Forms.Button();
			this.m_oBtn31Minute = new System.Windows.Forms.Button();
			this.m_oBtn40Minute = new System.Windows.Forms.Button();
			this.m_oBtn30Minute = new System.Windows.Forms.Button();
			this.m_oBtn22Minute = new System.Windows.Forms.Button();
			this.m_oBtn21Minute = new System.Windows.Forms.Button();
			this.m_oBtn20Minute = new System.Windows.Forms.Button();
			this.m_oBtn12Minute = new System.Windows.Forms.Button();
			this.m_oBtn11Minute = new System.Windows.Forms.Button();
			this.m_oBtn10Minute = new System.Windows.Forms.Button();
			this.m_oBtn2Minute = new System.Windows.Forms.Button();
			this.m_oBtn1Minute = new System.Windows.Forms.Button();
			this.m_oBtn0Minute = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// m_oBtn59Minute
			// 
			this.m_oBtn59Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn59Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn59Minute.Location = new System.Drawing.Point(216, 120);
			this.m_oBtn59Minute.Name = "m_oBtn59Minute";
			this.m_oBtn59Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn59Minute.TabIndex = 144;
			this.m_oBtn59Minute.Text = "59";
			this.m_oBtn59Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn59Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn49Minute
			// 
			this.m_oBtn49Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn49Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn49Minute.Location = new System.Drawing.Point(216, 96);
			this.m_oBtn49Minute.Name = "m_oBtn49Minute";
			this.m_oBtn49Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn49Minute.TabIndex = 134;
			this.m_oBtn49Minute.Text = "49";
			this.m_oBtn49Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn49Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn39Minute
			// 
			this.m_oBtn39Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn39Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn39Minute.Location = new System.Drawing.Point(216, 72);
			this.m_oBtn39Minute.Name = "m_oBtn39Minute";
			this.m_oBtn39Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn39Minute.TabIndex = 124;
			this.m_oBtn39Minute.Text = "39";
			this.m_oBtn39Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn39Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn29Minute
			// 
			this.m_oBtn29Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn29Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn29Minute.Location = new System.Drawing.Point(216, 48);
			this.m_oBtn29Minute.Name = "m_oBtn29Minute";
			this.m_oBtn29Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn29Minute.TabIndex = 114;
			this.m_oBtn29Minute.Text = "29";
			this.m_oBtn29Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn29Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn19Minute
			// 
			this.m_oBtn19Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn19Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn19Minute.Location = new System.Drawing.Point(216, 24);
			this.m_oBtn19Minute.Name = "m_oBtn19Minute";
			this.m_oBtn19Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn19Minute.TabIndex = 104;
			this.m_oBtn19Minute.Text = "19";
			this.m_oBtn19Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn19Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn9Minute
			// 
			this.m_oBtn9Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn9Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn9Minute.Location = new System.Drawing.Point(216, 0);
			this.m_oBtn9Minute.Name = "m_oBtn9Minute";
			this.m_oBtn9Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn9Minute.TabIndex = 94;
			this.m_oBtn9Minute.Text = "9";
			this.m_oBtn9Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn9Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn58Minute
			// 
			this.m_oBtn58Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn58Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn58Minute.Location = new System.Drawing.Point(192, 120);
			this.m_oBtn58Minute.Name = "m_oBtn58Minute";
			this.m_oBtn58Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn58Minute.TabIndex = 143;
			this.m_oBtn58Minute.Text = "58";
			this.m_oBtn58Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn58Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn48Minute
			// 
			this.m_oBtn48Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn48Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn48Minute.Location = new System.Drawing.Point(192, 96);
			this.m_oBtn48Minute.Name = "m_oBtn48Minute";
			this.m_oBtn48Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn48Minute.TabIndex = 133;
			this.m_oBtn48Minute.Text = "48";
			this.m_oBtn48Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn48Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn38Minute
			// 
			this.m_oBtn38Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn38Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn38Minute.Location = new System.Drawing.Point(192, 72);
			this.m_oBtn38Minute.Name = "m_oBtn38Minute";
			this.m_oBtn38Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn38Minute.TabIndex = 123;
			this.m_oBtn38Minute.Text = "38";
			this.m_oBtn38Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn38Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn28Minute
			// 
			this.m_oBtn28Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn28Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn28Minute.Location = new System.Drawing.Point(192, 48);
			this.m_oBtn28Minute.Name = "m_oBtn28Minute";
			this.m_oBtn28Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn28Minute.TabIndex = 113;
			this.m_oBtn28Minute.Text = "28";
			this.m_oBtn28Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn28Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn18Minute
			// 
			this.m_oBtn18Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn18Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn18Minute.Location = new System.Drawing.Point(192, 24);
			this.m_oBtn18Minute.Name = "m_oBtn18Minute";
			this.m_oBtn18Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn18Minute.TabIndex = 103;
			this.m_oBtn18Minute.Text = "18";
			this.m_oBtn18Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn18Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn8Minute
			// 
			this.m_oBtn8Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn8Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn8Minute.Location = new System.Drawing.Point(192, 0);
			this.m_oBtn8Minute.Name = "m_oBtn8Minute";
			this.m_oBtn8Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn8Minute.TabIndex = 93;
			this.m_oBtn8Minute.Text = "8";
			this.m_oBtn8Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn8Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn57Minute
			// 
			this.m_oBtn57Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn57Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn57Minute.Location = new System.Drawing.Point(168, 120);
			this.m_oBtn57Minute.Name = "m_oBtn57Minute";
			this.m_oBtn57Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn57Minute.TabIndex = 142;
			this.m_oBtn57Minute.Text = "57";
			this.m_oBtn57Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn57Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn47Minute
			// 
			this.m_oBtn47Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn47Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn47Minute.Location = new System.Drawing.Point(168, 96);
			this.m_oBtn47Minute.Name = "m_oBtn47Minute";
			this.m_oBtn47Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn47Minute.TabIndex = 132;
			this.m_oBtn47Minute.Text = "47";
			this.m_oBtn47Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn47Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn37Minute
			// 
			this.m_oBtn37Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn37Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn37Minute.Location = new System.Drawing.Point(168, 72);
			this.m_oBtn37Minute.Name = "m_oBtn37Minute";
			this.m_oBtn37Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn37Minute.TabIndex = 122;
			this.m_oBtn37Minute.Text = "37";
			this.m_oBtn37Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn37Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn27Minute
			// 
			this.m_oBtn27Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn27Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn27Minute.Location = new System.Drawing.Point(168, 48);
			this.m_oBtn27Minute.Name = "m_oBtn27Minute";
			this.m_oBtn27Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn27Minute.TabIndex = 112;
			this.m_oBtn27Minute.Text = "27";
			this.m_oBtn27Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn27Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn17Minute
			// 
			this.m_oBtn17Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn17Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn17Minute.Location = new System.Drawing.Point(168, 24);
			this.m_oBtn17Minute.Name = "m_oBtn17Minute";
			this.m_oBtn17Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn17Minute.TabIndex = 102;
			this.m_oBtn17Minute.Text = "17";
			this.m_oBtn17Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn17Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn7Minute
			// 
			this.m_oBtn7Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn7Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn7Minute.Location = new System.Drawing.Point(168, 0);
			this.m_oBtn7Minute.Name = "m_oBtn7Minute";
			this.m_oBtn7Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn7Minute.TabIndex = 92;
			this.m_oBtn7Minute.Text = "7";
			this.m_oBtn7Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn7Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn56Minute
			// 
			this.m_oBtn56Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn56Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn56Minute.Location = new System.Drawing.Point(144, 120);
			this.m_oBtn56Minute.Name = "m_oBtn56Minute";
			this.m_oBtn56Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn56Minute.TabIndex = 141;
			this.m_oBtn56Minute.Text = "56";
			this.m_oBtn56Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn56Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn46Minute
			// 
			this.m_oBtn46Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn46Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn46Minute.Location = new System.Drawing.Point(144, 96);
			this.m_oBtn46Minute.Name = "m_oBtn46Minute";
			this.m_oBtn46Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn46Minute.TabIndex = 131;
			this.m_oBtn46Minute.Text = "46";
			this.m_oBtn46Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn46Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn36Minute
			// 
			this.m_oBtn36Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn36Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn36Minute.Location = new System.Drawing.Point(144, 72);
			this.m_oBtn36Minute.Name = "m_oBtn36Minute";
			this.m_oBtn36Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn36Minute.TabIndex = 121;
			this.m_oBtn36Minute.Text = "36";
			this.m_oBtn36Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn36Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn26Minute
			// 
			this.m_oBtn26Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn26Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn26Minute.Location = new System.Drawing.Point(144, 48);
			this.m_oBtn26Minute.Name = "m_oBtn26Minute";
			this.m_oBtn26Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn26Minute.TabIndex = 111;
			this.m_oBtn26Minute.Text = "26";
			this.m_oBtn26Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn26Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn16Minute
			// 
			this.m_oBtn16Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn16Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn16Minute.Location = new System.Drawing.Point(144, 24);
			this.m_oBtn16Minute.Name = "m_oBtn16Minute";
			this.m_oBtn16Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn16Minute.TabIndex = 101;
			this.m_oBtn16Minute.Text = "16";
			this.m_oBtn16Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn16Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn6Minute
			// 
			this.m_oBtn6Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn6Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn6Minute.Location = new System.Drawing.Point(144, 0);
			this.m_oBtn6Minute.Name = "m_oBtn6Minute";
			this.m_oBtn6Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn6Minute.TabIndex = 91;
			this.m_oBtn6Minute.Text = "6";
			this.m_oBtn6Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn6Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn55Minute
			// 
			this.m_oBtn55Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn55Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn55Minute.Location = new System.Drawing.Point(120, 120);
			this.m_oBtn55Minute.Name = "m_oBtn55Minute";
			this.m_oBtn55Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn55Minute.TabIndex = 140;
			this.m_oBtn55Minute.Text = "55";
			this.m_oBtn55Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn55Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn45Minute
			// 
			this.m_oBtn45Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn45Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn45Minute.Location = new System.Drawing.Point(120, 96);
			this.m_oBtn45Minute.Name = "m_oBtn45Minute";
			this.m_oBtn45Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn45Minute.TabIndex = 130;
			this.m_oBtn45Minute.Text = "45";
			this.m_oBtn45Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn45Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn35Minute
			// 
			this.m_oBtn35Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn35Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn35Minute.Location = new System.Drawing.Point(120, 72);
			this.m_oBtn35Minute.Name = "m_oBtn35Minute";
			this.m_oBtn35Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn35Minute.TabIndex = 120;
			this.m_oBtn35Minute.Text = "35";
			this.m_oBtn35Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn35Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn25Minute
			// 
			this.m_oBtn25Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn25Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn25Minute.Location = new System.Drawing.Point(120, 48);
			this.m_oBtn25Minute.Name = "m_oBtn25Minute";
			this.m_oBtn25Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn25Minute.TabIndex = 110;
			this.m_oBtn25Minute.Text = "25";
			this.m_oBtn25Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn25Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn15Minute
			// 
			this.m_oBtn15Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn15Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn15Minute.Location = new System.Drawing.Point(120, 24);
			this.m_oBtn15Minute.Name = "m_oBtn15Minute";
			this.m_oBtn15Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn15Minute.TabIndex = 100;
			this.m_oBtn15Minute.Text = "15";
			this.m_oBtn15Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn15Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn5Minute
			// 
			this.m_oBtn5Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn5Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn5Minute.Location = new System.Drawing.Point(120, 0);
			this.m_oBtn5Minute.Name = "m_oBtn5Minute";
			this.m_oBtn5Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn5Minute.TabIndex = 90;
			this.m_oBtn5Minute.Text = "5";
			this.m_oBtn5Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn5Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn54Minute
			// 
			this.m_oBtn54Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn54Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn54Minute.Location = new System.Drawing.Point(96, 120);
			this.m_oBtn54Minute.Name = "m_oBtn54Minute";
			this.m_oBtn54Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn54Minute.TabIndex = 139;
			this.m_oBtn54Minute.Text = "54";
			this.m_oBtn54Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn54Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn44Minute
			// 
			this.m_oBtn44Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn44Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn44Minute.Location = new System.Drawing.Point(96, 96);
			this.m_oBtn44Minute.Name = "m_oBtn44Minute";
			this.m_oBtn44Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn44Minute.TabIndex = 129;
			this.m_oBtn44Minute.Text = "44";
			this.m_oBtn44Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn44Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn34Minute
			// 
			this.m_oBtn34Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn34Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn34Minute.Location = new System.Drawing.Point(96, 72);
			this.m_oBtn34Minute.Name = "m_oBtn34Minute";
			this.m_oBtn34Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn34Minute.TabIndex = 119;
			this.m_oBtn34Minute.Text = "34";
			this.m_oBtn34Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn34Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn24Minute
			// 
			this.m_oBtn24Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn24Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn24Minute.Location = new System.Drawing.Point(96, 48);
			this.m_oBtn24Minute.Name = "m_oBtn24Minute";
			this.m_oBtn24Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn24Minute.TabIndex = 109;
			this.m_oBtn24Minute.Text = "24";
			this.m_oBtn24Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn24Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn14Minute
			// 
			this.m_oBtn14Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn14Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn14Minute.Location = new System.Drawing.Point(96, 24);
			this.m_oBtn14Minute.Name = "m_oBtn14Minute";
			this.m_oBtn14Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn14Minute.TabIndex = 99;
			this.m_oBtn14Minute.Text = "14";
			this.m_oBtn14Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn14Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn4Minute
			// 
			this.m_oBtn4Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn4Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn4Minute.Location = new System.Drawing.Point(96, 0);
			this.m_oBtn4Minute.Name = "m_oBtn4Minute";
			this.m_oBtn4Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn4Minute.TabIndex = 89;
			this.m_oBtn4Minute.Text = "4";
			this.m_oBtn4Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn4Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn53Minute
			// 
			this.m_oBtn53Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn53Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn53Minute.Location = new System.Drawing.Point(72, 120);
			this.m_oBtn53Minute.Name = "m_oBtn53Minute";
			this.m_oBtn53Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn53Minute.TabIndex = 138;
			this.m_oBtn53Minute.Text = "53";
			this.m_oBtn53Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn53Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn43Minute
			// 
			this.m_oBtn43Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn43Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn43Minute.Location = new System.Drawing.Point(72, 96);
			this.m_oBtn43Minute.Name = "m_oBtn43Minute";
			this.m_oBtn43Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn43Minute.TabIndex = 128;
			this.m_oBtn43Minute.Text = "43";
			this.m_oBtn43Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn43Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn33Minute
			// 
			this.m_oBtn33Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn33Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn33Minute.Location = new System.Drawing.Point(72, 72);
			this.m_oBtn33Minute.Name = "m_oBtn33Minute";
			this.m_oBtn33Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn33Minute.TabIndex = 118;
			this.m_oBtn33Minute.Text = "33";
			this.m_oBtn33Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn33Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn23Minute
			// 
			this.m_oBtn23Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn23Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn23Minute.Location = new System.Drawing.Point(72, 48);
			this.m_oBtn23Minute.Name = "m_oBtn23Minute";
			this.m_oBtn23Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn23Minute.TabIndex = 108;
			this.m_oBtn23Minute.Text = "23";
			this.m_oBtn23Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn23Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn13Minute
			// 
			this.m_oBtn13Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn13Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn13Minute.Location = new System.Drawing.Point(72, 24);
			this.m_oBtn13Minute.Name = "m_oBtn13Minute";
			this.m_oBtn13Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn13Minute.TabIndex = 98;
			this.m_oBtn13Minute.Text = "13";
			this.m_oBtn13Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn13Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn3Minute
			// 
			this.m_oBtn3Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn3Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn3Minute.Location = new System.Drawing.Point(72, 0);
			this.m_oBtn3Minute.Name = "m_oBtn3Minute";
			this.m_oBtn3Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn3Minute.TabIndex = 88;
			this.m_oBtn3Minute.Text = "3";
			this.m_oBtn3Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn3Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn52Minute
			// 
			this.m_oBtn52Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn52Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn52Minute.Location = new System.Drawing.Point(48, 120);
			this.m_oBtn52Minute.Name = "m_oBtn52Minute";
			this.m_oBtn52Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn52Minute.TabIndex = 137;
			this.m_oBtn52Minute.Text = "52";
			this.m_oBtn52Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn52Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn42Minute
			// 
			this.m_oBtn42Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn42Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn42Minute.Location = new System.Drawing.Point(48, 96);
			this.m_oBtn42Minute.Name = "m_oBtn42Minute";
			this.m_oBtn42Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn42Minute.TabIndex = 127;
			this.m_oBtn42Minute.Text = "42";
			this.m_oBtn42Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn42Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn32Minute
			// 
			this.m_oBtn32Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn32Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn32Minute.Location = new System.Drawing.Point(48, 72);
			this.m_oBtn32Minute.Name = "m_oBtn32Minute";
			this.m_oBtn32Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn32Minute.TabIndex = 117;
			this.m_oBtn32Minute.Text = "32";
			this.m_oBtn32Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn32Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn51Minute
			// 
			this.m_oBtn51Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn51Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn51Minute.Location = new System.Drawing.Point(24, 120);
			this.m_oBtn51Minute.Name = "m_oBtn51Minute";
			this.m_oBtn51Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn51Minute.TabIndex = 136;
			this.m_oBtn51Minute.Text = "51";
			this.m_oBtn51Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn51Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn41Minute
			// 
			this.m_oBtn41Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn41Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn41Minute.Location = new System.Drawing.Point(24, 96);
			this.m_oBtn41Minute.Name = "m_oBtn41Minute";
			this.m_oBtn41Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn41Minute.TabIndex = 126;
			this.m_oBtn41Minute.Text = "41";
			this.m_oBtn41Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn41Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn50Minute
			// 
			this.m_oBtn50Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn50Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn50Minute.Location = new System.Drawing.Point(0, 120);
			this.m_oBtn50Minute.Name = "m_oBtn50Minute";
			this.m_oBtn50Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn50Minute.TabIndex = 135;
			this.m_oBtn50Minute.Text = "50";
			this.m_oBtn50Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn50Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn31Minute
			// 
			this.m_oBtn31Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn31Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn31Minute.Location = new System.Drawing.Point(24, 72);
			this.m_oBtn31Minute.Name = "m_oBtn31Minute";
			this.m_oBtn31Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn31Minute.TabIndex = 116;
			this.m_oBtn31Minute.Text = "31";
			this.m_oBtn31Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn31Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn40Minute
			// 
			this.m_oBtn40Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn40Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn40Minute.Location = new System.Drawing.Point(0, 96);
			this.m_oBtn40Minute.Name = "m_oBtn40Minute";
			this.m_oBtn40Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn40Minute.TabIndex = 125;
			this.m_oBtn40Minute.Text = "40";
			this.m_oBtn40Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn40Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn30Minute
			// 
			this.m_oBtn30Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn30Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn30Minute.Location = new System.Drawing.Point(0, 72);
			this.m_oBtn30Minute.Name = "m_oBtn30Minute";
			this.m_oBtn30Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn30Minute.TabIndex = 115;
			this.m_oBtn30Minute.Text = "30";
			this.m_oBtn30Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn30Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn22Minute
			// 
			this.m_oBtn22Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn22Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn22Minute.Location = new System.Drawing.Point(48, 48);
			this.m_oBtn22Minute.Name = "m_oBtn22Minute";
			this.m_oBtn22Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn22Minute.TabIndex = 107;
			this.m_oBtn22Minute.Text = "22";
			this.m_oBtn22Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn22Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn21Minute
			// 
			this.m_oBtn21Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn21Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn21Minute.Location = new System.Drawing.Point(24, 48);
			this.m_oBtn21Minute.Name = "m_oBtn21Minute";
			this.m_oBtn21Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn21Minute.TabIndex = 106;
			this.m_oBtn21Minute.Text = "21";
			this.m_oBtn21Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn21Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn20Minute
			// 
			this.m_oBtn20Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn20Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn20Minute.Location = new System.Drawing.Point(0, 48);
			this.m_oBtn20Minute.Name = "m_oBtn20Minute";
			this.m_oBtn20Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn20Minute.TabIndex = 105;
			this.m_oBtn20Minute.Text = "20";
			this.m_oBtn20Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn20Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn12Minute
			// 
			this.m_oBtn12Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn12Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn12Minute.Location = new System.Drawing.Point(48, 24);
			this.m_oBtn12Minute.Name = "m_oBtn12Minute";
			this.m_oBtn12Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn12Minute.TabIndex = 97;
			this.m_oBtn12Minute.Text = "12";
			this.m_oBtn12Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn12Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn11Minute
			// 
			this.m_oBtn11Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn11Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn11Minute.Location = new System.Drawing.Point(24, 24);
			this.m_oBtn11Minute.Name = "m_oBtn11Minute";
			this.m_oBtn11Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn11Minute.TabIndex = 96;
			this.m_oBtn11Minute.Text = "11";
			this.m_oBtn11Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn11Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn10Minute
			// 
			this.m_oBtn10Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn10Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn10Minute.Location = new System.Drawing.Point(0, 24);
			this.m_oBtn10Minute.Name = "m_oBtn10Minute";
			this.m_oBtn10Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn10Minute.TabIndex = 95;
			this.m_oBtn10Minute.Text = "10";
			this.m_oBtn10Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn10Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn2Minute
			// 
			this.m_oBtn2Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn2Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn2Minute.Location = new System.Drawing.Point(48, 0);
			this.m_oBtn2Minute.Name = "m_oBtn2Minute";
			this.m_oBtn2Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn2Minute.TabIndex = 87;
			this.m_oBtn2Minute.Text = "2";
			this.m_oBtn2Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn2Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn1Minute
			// 
			this.m_oBtn1Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn1Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn1Minute.Location = new System.Drawing.Point(24, 0);
			this.m_oBtn1Minute.Name = "m_oBtn1Minute";
			this.m_oBtn1Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn1Minute.TabIndex = 86;
			this.m_oBtn1Minute.Text = "1";
			this.m_oBtn1Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn1Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// m_oBtn0Minute
			// 
			this.m_oBtn0Minute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.m_oBtn0Minute.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_oBtn0Minute.Name = "m_oBtn0Minute";
			this.m_oBtn0Minute.Size = new System.Drawing.Size(26, 26);
			this.m_oBtn0Minute.TabIndex = 85;
			this.m_oBtn0Minute.Text = "0";
			this.m_oBtn0Minute.Click += new System.EventHandler(this.LeftClick);
			this.m_oBtn0Minute.MouseUp += new System.Windows.Forms.MouseEventHandler(this.RightClick);
			// 
			// MinuteSelectorForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(242, 146);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.m_oBtn59Minute,
																		  this.m_oBtn49Minute,
																		  this.m_oBtn39Minute,
																		  this.m_oBtn29Minute,
																		  this.m_oBtn19Minute,
																		  this.m_oBtn9Minute,
																		  this.m_oBtn58Minute,
																		  this.m_oBtn48Minute,
																		  this.m_oBtn38Minute,
																		  this.m_oBtn28Minute,
																		  this.m_oBtn18Minute,
																		  this.m_oBtn8Minute,
																		  this.m_oBtn57Minute,
																		  this.m_oBtn47Minute,
																		  this.m_oBtn37Minute,
																		  this.m_oBtn27Minute,
																		  this.m_oBtn17Minute,
																		  this.m_oBtn7Minute,
																		  this.m_oBtn56Minute,
																		  this.m_oBtn46Minute,
																		  this.m_oBtn36Minute,
																		  this.m_oBtn26Minute,
																		  this.m_oBtn16Minute,
																		  this.m_oBtn6Minute,
																		  this.m_oBtn55Minute,
																		  this.m_oBtn45Minute,
																		  this.m_oBtn35Minute,
																		  this.m_oBtn25Minute,
																		  this.m_oBtn15Minute,
																		  this.m_oBtn5Minute,
																		  this.m_oBtn54Minute,
																		  this.m_oBtn44Minute,
																		  this.m_oBtn34Minute,
																		  this.m_oBtn24Minute,
																		  this.m_oBtn14Minute,
																		  this.m_oBtn4Minute,
																		  this.m_oBtn53Minute,
																		  this.m_oBtn43Minute,
																		  this.m_oBtn33Minute,
																		  this.m_oBtn23Minute,
																		  this.m_oBtn13Minute,
																		  this.m_oBtn3Minute,
																		  this.m_oBtn52Minute,
																		  this.m_oBtn42Minute,
																		  this.m_oBtn32Minute,
																		  this.m_oBtn51Minute,
																		  this.m_oBtn41Minute,
																		  this.m_oBtn50Minute,
																		  this.m_oBtn31Minute,
																		  this.m_oBtn40Minute,
																		  this.m_oBtn30Minute,
																		  this.m_oBtn22Minute,
																		  this.m_oBtn21Minute,
																		  this.m_oBtn20Minute,
																		  this.m_oBtn12Minute,
																		  this.m_oBtn11Minute,
																		  this.m_oBtn10Minute,
																		  this.m_oBtn2Minute,
																		  this.m_oBtn1Minute,
																		  this.m_oBtn0Minute});
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "MinuteSelectorForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
			this.Deactivate += new System.EventHandler(this.MinuteSelectorForm_Deactivate);
			this.ResumeLayout(false);

		}
		#endregion


		public new void Show()
		{
			if (m_sSelectedTime != TimeSpan.MinValue)
			{
				SetMinute(m_sSelectedTime.Minutes);
			}
			else
			{
				SetMinute(DateTime.Now.TimeOfDay.Minutes);
			}

			base.Show();
		}

		private void MinuteSelectorForm_Deactivate(object sender, System.EventArgs e)
		{
			if (m_bResetMinute == true)
			{
				m_sSelectedTime = new TimeSpan(m_sSelectedTime.Hours, 0, 0);
			}
			else
			{
				m_sSelectedTime = new TimeSpan(m_sSelectedTime.Hours, m_sSelectedTime.Minutes, 0);
				m_bResetMinute = true;
			}

			this.Hide();		
		}

		private void LeftClick(object sender, System.EventArgs e)
		{
			Button l_oClickedButton = (Button) sender;

			m_oOldMinuteButton.BackColor = l_oClickedButton.BackColor;
			m_oOldMinuteButton = l_oClickedButton;

			l_oClickedButton.BackColor = m_oSelectedColor;
			l_oClickedButton.Select();

			m_sSelectedTime = new TimeSpan( m_sSelectedTime.Hours, Convert.ToInt32(l_oClickedButton.Text), 0);
		}

		private void RightClick(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Right)
			{
				LeftClick(sender, e);
				this.Hide();
			}
		}

		private void SetMinute(int nMinute)
		{
			switch (nMinute)
			{
				case 0:
					LeftClick(m_oBtn0Minute, null);
					break;
				case 1:
					LeftClick(m_oBtn1Minute, null);
					break;
				case 2:
					LeftClick(m_oBtn2Minute, null);
					break;
				case 3:
					LeftClick(m_oBtn3Minute, null);
					break;
				case 4:
					LeftClick(m_oBtn4Minute, null);
					break;
				case 5:
					LeftClick(m_oBtn5Minute, null);
					break;
				case 6:
					LeftClick(m_oBtn6Minute, null);
					break;
				case 7:
					LeftClick(m_oBtn7Minute, null);
					break;
				case 8:
					LeftClick(m_oBtn8Minute, null);
					break;
				case 9:
					LeftClick(m_oBtn9Minute, null);
					break;
				case 10:
					LeftClick(m_oBtn10Minute, null);
					break;
				case 11:
					LeftClick(m_oBtn11Minute, null);
					break;
				case 12:
					LeftClick(m_oBtn12Minute, null);
					break;
				case 13:
					LeftClick(m_oBtn13Minute, null);
					break;
				case 14:
					LeftClick(m_oBtn14Minute, null);
					break;
				case 15:
					LeftClick(m_oBtn15Minute, null);
					break;
				case 16:
					LeftClick(m_oBtn16Minute, null);
					break;
				case 17:
					LeftClick(m_oBtn17Minute, null);
					break;
				case 18:
					LeftClick(m_oBtn18Minute, null);
					break;
				case 19:
					LeftClick(m_oBtn19Minute, null);
					break;
				case 20:
					LeftClick(m_oBtn20Minute, null);
					break;
				case 21:
					LeftClick(m_oBtn21Minute, null);
					break;
				case 22:
					LeftClick(m_oBtn22Minute, null);
					break;
				case 23:
					LeftClick(m_oBtn23Minute, null);
					break;
				case 24:
					LeftClick(m_oBtn24Minute, null);
					break;
				case 25:
					LeftClick(m_oBtn25Minute, null);
					break;
				case 26:
					LeftClick(m_oBtn26Minute, null);
					break;
				case 27:
					LeftClick(m_oBtn27Minute, null);
					break;
				case 28:
					LeftClick(m_oBtn28Minute, null);
					break;
				case 29:
					LeftClick(m_oBtn29Minute, null);
					break;
				case 30:
					LeftClick(m_oBtn30Minute, null);
					break;
				case 31:
					LeftClick(m_oBtn31Minute, null);
					break;
				case 32:
					LeftClick(m_oBtn32Minute, null);
					break;
				case 33:
					LeftClick(m_oBtn33Minute, null);
					break;
				case 34:
					LeftClick(m_oBtn34Minute, null);
					break;
				case 35:
					LeftClick(m_oBtn35Minute, null);
					break;
				case 36:
					LeftClick(m_oBtn36Minute, null);
					break;
				case 37:
					LeftClick(m_oBtn37Minute, null);
					break;
				case 38:
					LeftClick(m_oBtn38Minute, null);
					break;
				case 39:
					LeftClick(m_oBtn39Minute, null);
					break;
				case 40:
					LeftClick(m_oBtn40Minute, null);
					break;
				case 41:
					LeftClick(m_oBtn41Minute, null);
					break;
				case 42:
					LeftClick(m_oBtn42Minute, null);
					break;
				case 43:
					LeftClick(m_oBtn43Minute, null);
					break;
				case 44:
					LeftClick(m_oBtn44Minute, null);
					break;
				case 45:
					LeftClick(m_oBtn45Minute, null);
					break;
				case 46:
					LeftClick(m_oBtn46Minute, null);
					break;
				case 47:
					LeftClick(m_oBtn47Minute, null);
					break;
				case 48:
					LeftClick(m_oBtn48Minute, null);
					break;
				case 49:
					LeftClick(m_oBtn49Minute, null);
					break;
				case 50:
					LeftClick(m_oBtn50Minute, null);
					break;
				case 51:
					LeftClick(m_oBtn51Minute, null);
					break;
				case 52:
					LeftClick(m_oBtn52Minute, null);
					break;
				case 53:
					LeftClick(m_oBtn53Minute, null);
					break;
				case 54:
					LeftClick(m_oBtn54Minute, null);
					break;
				case 55:
					LeftClick(m_oBtn55Minute, null);
					break;
				case 56:
					LeftClick(m_oBtn56Minute, null);
					break;
				case 57:
					LeftClick(m_oBtn57Minute, null);
					break;
				case 58:
					LeftClick(m_oBtn58Minute, null);
					break;
				case 59:
					LeftClick(m_oBtn59Minute, null);
					break;
				default:
					break;
			}
		}
	}
}
